<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
	<head>
		<title><s:text name="page.title.prefix" /> <s:property value="#pageTitle" /></title>
		<jsp:include page="/include/scripts.jsp" />
	</head>
	<body>
		<form method="post">
			key:
			<s:textfield name="key" />
			<br />
			value:
			<s:textfield name="value" />
			<input type="submit" value="Set">
		</form>

		System.getProperties:
		<table class="big_form" width="100%" border="1">
			<s:iterator value="properties">
				<tr>
					<td style="width: 50%; background: #f2f2f2; text-align: right;">
						<s:property value="key" />
					</td>
					<td>
						<s:property value="value" />
					</td>
				</tr>
			</s:iterator>
		</table>

		System.getenv:
		<table class="big_form" width="100%" border="1">
			<s:iterator value="env">
				<tr>
					<td style="width: 50%; background: silver; text-align: right;">
						<s:property value="key" />
					</td>
					<td>
						<s:property value="value" />
					</td>
				</tr>
			</s:iterator>
		</table>
	</body>

</html>